<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" xmlns:th="http://www.thymeleaf.org">
    <title>模板</title>
</head>
<body>
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow" th:fragment="headmeun">
    <a class="navbar-brand col-md-3 col-lg-2 mr-0 px-3" href="#" th:href="@{/userChangePassword/}+${session.user.name}" th:text="'欢迎您：'+${session.user.name}"></a>
    <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-toggle="collapse" data-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
    <ul class="navbar-nav px-3">
        <li class="nav-item text-nowrap">
            <a class="nav-link" href="#" th:href="@{/quit}">退出</a>
        </li>
    </ul>
</nav>

<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
    <div class="sidebar-sticky pt-3">
        <ul class="nav flex-column">
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/main}" th:class="${lurl=='maintrue'?'nav-link active':'nav-link'}">
                    <span data-feather="home"></span>
                    后台主页<span class="sr-only">(current)</span>
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#" >
                    <span data-feather="file"></span>
                    订单管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#" th:href="@{/shopPage}+'/1'+'/5'"  th:class="${lurl=='shoptrue'?'nav-link active':'nav-link'}">
                    <span data-feather="shopping-cart"></span>
                    商品管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#" th:href="@{/page}+'/1'+'/3'" th:class="${lurl=='usertrue'?'nav-link active':'nav-link'}">
                    <span data-feather="users"></span>
                    用户管理
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#" th:href="@{/toPieShow}" th:class="${lurl=='pieShowTrue'?'nav-link active':'nav-link'}">
                    <span data-feather="bar-chart-2"></span>
                    报表统计
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">
                    <span data-feather="layers"></span>
                    系统管理
                </a>
            </li>
        </ul>
    </div>
</nav>
</body>
</html>